Handle negative top/left in frame parameters (Bug#7510).
authorJan D. <jan.h.d@swipnet.se>
Thu, 2 Dec 2010 07:12:54 +0000 (08:12 +0100)
committerJan D. <jan.h.d@swipnet.se>
Thu, 2 Dec 2010 07:12:54 +0000 (08:12 +0100)
commitd4b80f53fcee695ad638712ad684aa85bf4c6317
tree9fc2562d2d06262a36a9072605bbd7ad1e7822b8
parenta318f03739ecd487ca760f4423f89258fa37c801
Handle negative top/left in frame parameters (Bug#7510).

* src/nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGHT.

* src/nsterm.m (x_set_window_size, windowWillResize, initFrameFromEmacs):
Use FRAME_TOOLBAR_HEIGHT.
(x_set_offset): Handle XNegative and YNegative in
f->size_hint_flags.
src/ChangeLog
src/nsterm.h
src/nsterm.m